From b783788ca6df03c4959eed0435794649519c2f16 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 5 Jul 2009 08:31:37 +0000 Subject: [PATCH] * dired-aux.el (dired-show-file-type): Handle remote files. --- lisp/dired-aux.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index ffb6f4e9cbf..2e31e9cd90d 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -2429,8 +2429,8 @@ true then the type of the file linked to by FILE is printed instead." (interactive (list (dired-get-filename t) current-prefix-arg)) (with-temp-buffer (if deref-symlinks - (call-process "file" nil t t "-L" "--" file) - (call-process "file" nil t t "--" file)) + (process-file "file" nil t t "-L" "--" file) + (process-file "file" nil t t "--" file)) (when (bolp) (backward-delete-char 1)) (message "%s" (buffer-string)))) -- 2.30.2